﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using BLL;
using DAL.Linq;


namespace InvoiceManagement.Controllers
{
    public class DM_LOAITHUEController
    {
        private static IDMLOAITHUE_Dao DM_LoaiThueController = DataAccess.DMLOAITHUE_Dao;

        public bool DMLoaiThue_Insert(string MaCode, string TenLoaiThue, bool IsUse, int CreateBy)
        {
            return DM_LoaiThueController.DMLoaiThue_Insert(MaCode, TenLoaiThue, IsUse, CreateBy);
        }

        public bool DMLoaiThue_Update(int MaLoaiThue, string TenLoaiThue, bool IsUse, int ModifiedBy, DateTime ModifiedOn)
        {
            return DM_LoaiThueController.DMLoaiThue_Update(MaLoaiThue, TenLoaiThue, IsUse,  ModifiedBy, ModifiedOn);
        }

        public bool DMLoaiThue_Delete(int MaLoaiThue)
        {
            return DM_LoaiThueController.DMLoaiThue_Delete(MaLoaiThue);
        }

        public IList<DMLOAITHUE> GetAll_DMLoaiThue()
        {
            return DM_LoaiThueController.GetAll_DMLoaiThue();
        }
    }
}
